Automattic\WooCommerce\Pinterest\API\Base A

Total Complexity 65
Dependencies 3
Dependents 3
Total lines 798
Lines of code 320
Logical lines of code 111
Comment lines 366
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
make_request()
A
46 8 40
handle_request()
A
43 6 51
prepare_request()
S
55 5 17
update_tag()
S
60 3 13
get_merchant_feeds()
S
61 2 13
invalidate_merchant_feeds_cache()
S
62 2 12
parse_response()
S
68 2 6
instance()
S
72 2 6
update_tag_config()
S
69 2 6
get_advertisers()
S
73 2 4
get_token()
S
71 2 6
maybe_cache_api_response()
S
69 2 6
create_advertiser()
S
62 1 12
get_merchant_feed_report()
S
63 1 11
create_tag()
S
63 1 11
get_advertiser_billing_data()
S
77 1 3
get_advertiser_billing_profile()
S
77 1 3
get_available_discounts()
S
71 1 5
enable_merchant_feed()
S
73 1 5
disable_merchant_feed()
S
73 1 5
get_list_of_ads_supported_countries()
S
74 1 4
update_merchant_feed()
S
70 1 6
update_or_create_merchant()
S
70 1 7
get_message_map()
S
77 1 3
__construct()
S
98 1 1
get_merchant()
S
77 1 3
get_advertiser_tag()
S
76 1 3
get_advertiser_tags()
S
77 1 3
disconnect_advertiser()
S
65 1 10
connect_advertiser()
S
65 1 10
get_linked_businesses()
S
78 1 3
get_account_info()
S
78 1 3
trigger_verification()
S
68 1 6
domain_verification_data()
S
78 1 3
disconnect_merchant()
S
78 1 3
invalidate_cached_response()
S
74 1 4
get_cached_response()
S
74 1 4
get_cache_key()
S
77 1 3
get_tag_name()
S
71 1 6